package jjn.round1;

/**
 * @author Jjn
 * @since 2022-08-15 16:01
 */
public interface SortAlgorithm {
    /**
     * Sort given array ascend order.
     *
     * @param nums numbers that require sorting.
     */
    void sort(int... nums);
    
    /**
     * Get name of sort algorithm.
     *
     * @return name of sort algorithm.
     */
    default String getName() {
        return "xxx sort algorithm.";
    }
}
